home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-06 / dosup5.zip / PATCH.ZIP / EMSXKB.PAT < prev    next >
Text File  |  1992-04-15  |  1KB  |  33 lines

  1. TARGET=EMSNETX.EXE
  2.  
  3. LIST
  4.     print "DISABLE KEYBOARD RESET PATCH\n\n"
  5.     print "This patch resolves a problem unique to the NetWare shell v3.26 where the\n"
  6.     print "keyboard will be reset if you send a message to yourself.\n"
  7.  
  8. VERIFY
  9.     va = search (B0 FF E6 60 checksum 2f5 )
  10.     if (va) then
  11.         print "\n"
  12.         print "$TARGET needs to be patched (has 'out' instruction at offset ",va,").\n"
  13.     else
  14.         print "\n"
  15.         print "$TARGET does not have the instruction which causes the problem.\n\n"
  16.         print "Could not find the requested pattern in $TARGET.  The shell is either\n"
  17.         print "already patched or is the wrong version.  This patch needs to be applied\n"
  18.         print "only to version 3.26 (920319) of the NetWare DOS shell.\n"
  19.     stop
  20.     endif
  21.  
  22. APPLY
  23.     print "\n"
  24.     print "Applying send error patch from EMSXKB.PAT to $TARGET. \n"
  25.     vb = search (B0 FF E6 60 checksum 2f5)
  26.     if (vb) then
  27.         patch vb (90 90 90 90 checksum 240)
  28.         write
  29.         print "\n"
  30.         print "$TARGET has been patched and will no longer reset keyboard!\n"
  31.         stop
  32.     endif
  33.